home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / makefile.wnt < prev    next >
Encoding:
Makefile  |  1993-12-30  |  4.7 KB  |  201 lines

  1. #
  2. # This make file is the main make file of the IRIT solid modeller and its
  3. # auxilary tools.
  4. #
  5. # Do the following before run make:
  6. #
  7. # 1. Edit 'makeflag.wnt' for the exact path names to ne used for libraries and
  8. #    binaries. Also set the C compiler and linker flags.
  9. #
  10. #                Gershon Elber, June 1993
  11. #
  12.  
  13. include makeflag.wnt
  14.  
  15. all:    misc_lib cagd_lib prsr_lib geom_lib grapdrvs grapdrvs \
  16.     irit poly3d-h illustrt iritfltr docs init # poly3d-r
  17.  
  18. #
  19. # Print info regarding initialization.
  20. #
  21. init:
  22.     type <<make_wnt.tmp
  23. Before executing the test suite and/or any usage of this package
  24. you will have to issue the following command:
  25.  
  26. Path = %Path%;$(BIN_DIR)
  27. set IRIT_PATH=$(BIN_DIR)\
  28. set IRIT_DISPLAY=wntdrvs -s-
  29.  
  30. and optionally the following commands:
  31.  
  32. set IRIT_BIN_PIC=1
  33. set IRIT_SERVER_HOST=`name of this machine'
  34. set IRIT_SERVER_PORT=5432
  35.  
  36. or similar.
  37. <<KEEP
  38.     del make_wnt.tmp
  39.  
  40. #
  41. # Uncommend the following variable to only see the actions taken.
  42. #
  43. # VIEW_ONLY = -n
  44.  
  45. misc_lib:
  46.     cd misc_lib
  47.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  48.     cd ..
  49.  
  50. prsr_lib:
  51.     cd prsr_lib
  52.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  53.     cd ..
  54.  
  55. geom_lib:
  56.     cd geom_lib
  57.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  58.     cd ..
  59.  
  60. cagd_lib:
  61.     cd cagd_lib
  62.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  63.     cd ..
  64.  
  65. grapdrvs:
  66.     cd grapdrvs
  67.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  68.     cd ..
  69.  
  70. irit:
  71.     cd irit
  72.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  73.     cd ..\docs
  74.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  75.     cd ..
  76.  
  77. poly3d-h:
  78.     cd poly3d-h
  79.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  80.     cd ..
  81.  
  82. poly3d-r:
  83.     cd poly3d-r
  84.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  85.     cd ..
  86.  
  87. illustrt:
  88.     cd illustrt
  89.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  90.     cd ..
  91.  
  92. iritfltr:
  93.     cd iritfltr
  94.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt install
  95.     cd ..
  96.  
  97.  
  98. clean:
  99.     -rm poly3d-h\*.map poly3d-h\*.bak poly3d-h\*.old poly3d-h\*.hdn poly3d-h\*.sym
  100.     -rm poly3d-r\*.map poly3d-r\*.bak poly3d-r\*.old poly3d-r\*.gif poly3d-r\*.sym
  101.     -rm illustrt\*.map illustrt\*.bak illustrt\*.old illustrt\*.sym
  102.     -rm iritfltr\*.map iritfltr\*.bak iritfltr\*.old iritfltr\*.sym
  103.     -rm cagd_lib\*.map cagd_lib\*.bak cagd_lib\*.sym
  104.     -rm prsr_lib\*.map prsr_lib\*.bak prsr_lib\*.sym
  105.     -rm geom_lib\*.map geom_lib\*.bak geom_lib\*.sym
  106.     -rm grap_lib\*.map grap_lib\*.bak grap_lib\*.sym
  107.     -rm misc_lib\*.map misc_lib\*.bak misc_lib\*.sym
  108.     -rm irit\*.map irit\*.bak irit\*.old irit\*.sym irit\*.dat
  109.     -rm docs\irithlp.exe
  110.  
  111. cleanobj:
  112.     -rm poly3d-h\*.obj poly3d-r\*.obj illustrt\*.obj
  113.     -rm irit\*.obj iritfltr\*.obj cagd_lib\*.obj misc_lib\*.obj
  114.     -rm grap_lib\*.obj prsr_lib\*.obj geom_lib\*.obj docs\*.obj
  115.     -rm docs\irithlp.exe
  116.  
  117. #
  118. # Make hardcopy documentation.
  119. #
  120. docs:
  121.     cd docs
  122.     -$(MAKE) $(VIEW_ONLY) -f makefile.wnt irit.tex irit.doc
  123.     cd ..
  124.  
  125. #
  126. # Test some of the above programs. Make sure $(BIN_DIR) is in your path
  127. #
  128. test:
  129.     cd irit
  130.     -irit demo
  131.     cd ..\poly3d-h
  132.     -test-wnt
  133.     cd ..\illustrt
  134.     -test-wnt
  135.     cd ..\iritfltr
  136.     -test-wnt
  137.     cd ..\poly3d-r
  138.     -test-wnt
  139.     cd ..
  140.  
  141. #
  142. # Generate dependencies for the source tree.
  143. #
  144. depend:
  145.     cd irit
  146.     -makedpnd -u -r -m makefile.unx *.c
  147.     -makedpnd -u -r -m makefile.os2 *.c
  148.     -makedpnd    -r -m makefile.wnt *.c
  149.     cd ..\poly3d-h
  150.     -makedpnd -u -r -m makefile.unx *.c
  151.     -makedpnd -u -r -m makefile.os2 *.c
  152.     -makedpnd -u -r -m makefile.djg *.c
  153.     -makedpnd    -r -m makefile.wnt *.c
  154.     cd ..\poly3d-r
  155.     -makedpnd -u -r -m makefile.unx *.c
  156.     -makedpnd -u -r -m makefile.os2 *.c
  157.     -makedpnd -u -r -m makefile.djg *.c
  158.     -makedpnd    -r -m makefile.wnt *.c
  159.     cd ..\illustrt
  160.     -makedpnd -u -r -m makefile.unx *.c
  161.     -makedpnd -u -r -m makefile.os2 *.c
  162.     -makedpnd -u -r -m makefile.djg *.c
  163.     -makedpnd    -r -m makefile.wnt *.c
  164.     cd ..\iritfltr
  165.     -makedpnd -u -r -m makefile.unx *.c
  166.     -makedpnd -u -r -m makefile.os2 *.c
  167.     -makedpnd -u -r -m makefile.djg *.c
  168.     -makedpnd    -r -m makefile.wnt *.c
  169.     cd ..\cagd_lib
  170.     -makedpnd -u -r -m makefile.unx *.c
  171.     -makedpnd -u -r -m makefile.os2 *.c
  172.     -makedpnd -u -r -m makefile.djg *.c
  173.     -makedpnd    -r -m makefile.wnt *.c
  174.     cd ..\misc_lib
  175.     -makedpnd -u -r -m makefile.unx *.c
  176.     -makedpnd -u -r -m makefile.os2 *.c
  177.     -makedpnd -u -r -m makefile.djg *.c
  178.     -makedpnd    -r -m makefile.wnt *.c
  179.     cd ..\geom_lib
  180.     -makedpnd -u -r -m makefile.unx *.c
  181.     -makedpnd -u -r -m makefile.os2 *.c
  182.     -makedpnd -u -r -m makefile.djg *.c
  183.     -makedpnd    -r -m makefile.wnt *.c
  184.     cd ..\prsr_lib
  185.     -makedpnd -u -r -m makefile.unx *.c
  186.     -makedpnd -u -r -m makefile.os2 *.c
  187.     -makedpnd -u -r -m makefile.djg *.c
  188.     -makedpnd    -r -m makefile.wnt *.c
  189.     cd ..\geom_lib
  190.     -makedpnd -u -r -m makefile.unx *.c
  191.     -makedpnd -u -r -m makefile.os2 *.c
  192.     -makedpnd -u -r -m makefile.djg *.c
  193.     -makedpnd    -r -m makefile.wnt *.c
  194.     cd ..\grap_lib
  195.     -makedpnd -u -r -m makefile.unx *.c
  196.     -makedpnd -u -r -m makefile.os2 *.c
  197.     -makedpnd -u -r -m makefile.djg *.c
  198.     -makedpnd    -r -m makefile.wnt *.c
  199.     cd ..
  200.  
  201.